<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>留言板</title>
  <link rel="stylesheet" href="css/index.css">
  <script type="text/html" id="tem">
    <% for(let i = 0; i < comments.length; i++) { %>
    <li uid="<%=comments[i].id %>">
      <div class="l-left left">
        <img src="<%=comments[i].images%>" alt="">
      </div>
      <div class="l-right left">
        <p class="author"><%=comments[i].username %></p>
        <p class="content"><%= comments[i].content%></p>
        <p class="times">
          <span class="time">2020年1月11日 12:30</span>
          <a href="#">回复</a>
        </p>
      </div>
      <div class="l-delete left">
        <div class="triangle"></div>
        <a href="javascript:;" class="delete" id="delete">删除</a>
      </div>
    </li>
    <% } %>
  </script>
</head>
<body>
  <div class="bg">
    <div class="header">
      <p>这里有只多啦木子</p>
      <div class="tx">
        <div class="img left"><img src="./img/tx.jpeg" alt=""></div>
        <p class="left">你好好想想</p>
      </div>
    </div>
   <div class="container">
    <div class="con">
      <p>留言板</p>
      <div class="line"></div>
      <div class="mess">
        <p class="post">主人寄语：</p>
        <p class="txt">来了就留个脚印吧，👣</p>
      </div>
      <div class="reply">
        <h4>发表回复</h4>
        <p>用户名：<input type="text" class="user"></p>
        <textarea class="editor"></textarea>
        <input type="button" value="发表" class="btn">
      </div>
      <div class="cmts">
        <p class="toggle">留言(3)</p>
        <ul class="list">
          
        </ul>
        <div class="lemess">
          <a href="javascript:;" class="click">我要留言</a>
          <div class="page">
            <ul>
              <li><a href="javascript:;" class="active">1</a></li>
              <li><a href="javascript:;">2</a></li>
              <li><a href="javascript:;">3</a></li>
            </ul>
          </div>
        </div>
      </div>
    </div>
   </div>
  </div>
  
  <script src="js/jquery-1.12.4.js"></script>
  <script src="js/template-native.js"></script>
  <script src="js/index.js"></script>
  <script>
    
  </script>
</body>
</html>